script_game_start = 0
script_game_event_party_encounter = 1
script_game_event_simulate_battle = 2
script_game_get_item_buy_price_factor = 3
script_game_get_item_sell_price_factor = 4
script_get_trade_penalty = 5
script_game_event_buy_item = 6
script_game_event_sell_item = 7
script_game_get_troop_wage = 8
script_game_get_join_cost = 9
script_game_get_prisoner_price = 10
script_game_check_prisoner_can_be_sold = 11
script_game_event_inspect_party = 12
script_game_get_statistics_line = 13
script_game_get_date_text = 14
script_game_get_money_text = 15
script_game_get_party_companion_limit = 16
script_game_reset_player_party_name = 17
script_party_get_ideal_size = 18
script_game_get_party_prisoner_limit = 19
script_game_get_item_extra_text = 20
script_game_on_disembark = 21
script_game_context_menu_get_buttons = 22
script_game_event_context_menu_button_clicked = 23
script_game_get_skill_modifier_for_troop = 24
script_npc_get_troop_wage = 25
script_setup_talk_info = 26
script_update_party_creation_random_limits = 27
script_center_set_trade_good_production = 28
script_update_trade_good_prices = 29
script_update_trade_good_price_for_party = 30
script_do_merchant_town_trade = 31
script_party_calculate_regular_strength = 32
script_party_calculate_strength = 33
script_party_calculate_loot = 34
script_calculate_main_party_shares = 35
script_party_give_xp_and_gold = 36
script_setup_troop_meeting = 37
script_setup_party_meeting = 38
script_party_remove_all_companions = 39
script_party_remove_all_prisoners = 40
script_party_add_party_companions = 41
script_party_add_party_prisoners = 42
script_party_prisoners_add_party_companions = 43
script_party_prisoners_add_party_prisoners = 44
script_party_add_party = 45
script_party_copy = 46
script_clear_party_group = 47
script_get_nonempty_party_in_group = 48
script_collect_prisoners_from_empty_parties = 49
script_print_casualties_to_s0 = 50
script_party_count_fit_regulars = 51
script_party_count_fit_for_battle = 52
script_party_count_prisoners = 53
script_get_stack_with_rank = 54
script_inflict_casualties_to_party = 55
script_move_members_with_ratio = 56
script_count_parties_of_faction_and_party_type = 57
script_faction_get_number_of_armies = 58
script_faction_recalculate_strength = 59
script_cf_select_random_town_with_faction = 60
script_cf_select_random_village_with_faction = 61
script_cf_select_random_center_with_faction = 62
script_cf_select_random_town_at_peace_with_faction = 63
script_shuffle_troop_slots = 64
script_get_random_quest = 65
script_cf_faction_get_random_enemy_faction = 66
script_cf_troop_get_random_enemy_troop_with_occupation = 67
script_cf_get_random_kingdom_hero_as_lover = 68
script_cf_get_random_lord_in_a_center_with_faction = 69
script_cf_get_random_lord_from_another_faction_in_a_center = 70
script_get_closest_walled_center = 71
script_get_closest_center = 72
script_get_closest_center_of_faction = 73
script_get_closest_walled_center_of_faction = 74
script_let_nearby_parties_join_current_battle = 75
script_party_wound_all_members_aux = 76
script_party_wound_all_members = 77
script_calculate_battle_advantage = 78
script_cf_check_enemies_nearby = 79
script_get_heroes_attached_to_center_aux = 80
script_get_heroes_attached_to_center = 81
script_get_heroes_attached_to_center_as_prisoner_aux = 82
script_get_heroes_attached_to_center_as_prisoner = 83
script_give_center_to_faction = 84
script_give_center_to_faction_aux = 85
script_give_center_to_lord = 86
script_get_number_of_hero_centers = 87
script_find_travel_location = 88
script_get_relation_between_parties = 89
script_calculate_weekly_party_wage = 90
script_calculate_player_faction_wage = 91
script_calculate_hero_weekly_net_income_and_add_to_wealth = 92
script_cf_reinforce_party = 93
script_hire_men_to_kingdom_hero_party = 94
script_create_cattle_herd = 95
script_buy_cattle_from_village = 96
script_kill_cattle_from_herd = 97
script_create_kingdom_hero_party = 98
script_create_kingdom_party_if_below_limit = 99
script_cf_create_kingdom_party = 100
script_get_troop_attached_party = 101
script_center_get_food_consumption = 102
script_center_get_food_store_limit = 103
script_refresh_village_merchant_inventory = 104
script_refresh_village_defenders = 105
script_village_set_state = 106
script_process_village_raids = 107
script_process_sieges = 108
script_process_alarms = 109
script_party_set_ai_state = 110
script_decide_kingdom_party_ai = 111
script_party_decide_next_ai_state_under_command = 112
script_kingdom_hero_decide_next_ai_state = 113
script_process_kingdom_parties_ai = 114
script_process_hero_ai = 115
script_decide_faction_ai = 116
script_change_troop_renown = 117
script_change_player_relation_with_troop = 118
script_change_player_relation_with_center = 119
script_change_player_favor_of_troop = 120
script_change_player_relation_with_faction_ex = 121
script_criminal_act_consequences = 122
script_make_kingdom_hostile_to_player = 123
script_change_player_honor = 124
script_change_player_party_morale = 125
script_get_player_party_morale_values = 126
script_diplomacy_start_war_between_kingdoms = 127
script_diplomacy_start_peace_between_kingdoms = 128
script_event_kingdom_make_peace_with_kingdom = 129
script_randomly_start_war_peace = 130
script_exchange_prisoners_between_factions = 131
script_finish_quest = 132
script_get_information_about_troops_position = 133
script_recruit_troop_as_companion = 134
script_setup_random_scene = 135
script_enter_dungeon = 136
script_enter_court = 137
script_find_high_ground_around_pos1 = 138
script_select_battle_tactic = 139
script_battle_tactic_init = 140
script_battle_tactic_apply = 141
script_team_get_class_percentages = 142
script_get_closest3_distance_of_team_at_pos1 = 143
script_team_get_average_position_of_enemies = 144
script_change_debt_to_troop = 145
script_abort_quest = 146
script_cf_is_quest_troop = 147
script_check_friendly_kills = 148
script_simulate_retreat = 149
script_simulate_battle_with_agents_aux = 150
script_map_get_random_position_around_position_within_range = 151
script_get_number_of_unclaimed_centers_by_player = 152
script_troop_count_number_of_enemy_troops = 153
script_cf_troop_check_troop_is_enemy = 154
script_troop_get_leaded_center_with_index = 155
script_cf_troop_get_random_leaded_center = 156
script_cf_troop_get_random_leaded_town_or_village_except_center = 157
script_troop_write_owned_centers_to_s2 = 158
script_troop_write_family_relations_to_s1 = 159
script_write_family_relation_as_s3s_s2_to_s4 = 160
script_complete_family_relations = 161
script_collect_friendly_parties = 162
script_encounter_calculate_fit = 163
script_encounter_init_variables = 164
script_calculate_renown_value = 165
script_cf_get_first_agent_with_troop_id = 166
script_cf_team_get_average_position_of_agents_with_type_to_pos1 = 167
script_cf_turn_windmill_fans = 168
script_print_party_members = 169
script_change_banners = 170
script_describe_relation_to_s63 = 171
script_describe_center_relation_to_s3 = 172
script_init_town_walkers = 173
script_init_town_walker_agents = 174
script_tick_town_walkers = 175
script_set_town_walker_destination = 176
script_siege_init_ai_and_belfry = 177
script_cf_siege_move_belfry = 178
script_cf_siege_rotate_belfry_platform = 179
script_cf_siege_assign_men_to_belfry = 180
script_store_movement_order_name_to_s1 = 181
script_store_riding_order_name_to_s1 = 182
script_store_weapon_usage_order_name_to_s1 = 183
script_team_give_order_from_order_panel = 184
script_update_order_panel = 185
script_update_agent_position_on_map = 186
script_convert_3d_pos_to_map_pos = 187
script_update_order_flags_on_map = 188
script_update_order_panel_checked_classes = 189
script_update_order_panel_statistics_and_map = 190
script_consume_food = 191
script_calculate_troop_score_for_center = 192
script_assign_lords_to_empty_centers = 193
script_create_village_farmer_party = 194
script_do_party_center_trade = 195
script_player_join_faction = 196
script_player_leave_faction = 197
script_start_quest = 198
script_conclude_quest = 199
script_succeed_quest = 200
script_fail_quest = 201
script_report_quest_troop_positions = 202
script_end_quest = 203
script_update_village_market_towns = 204
script_update_mercenary_units_of_towns = 205
script_update_volunteer_troops_in_village = 206
script_update_companion_candidates_in_taverns = 207
script_update_ransom_brokers = 208
script_update_tavern_travelers = 209
script_update_villages_infested_by_bandits = 210
script_update_booksellers = 211
script_update_tavern_minstels = 212
script_update_faction_notes = 213
script_update_faction_traveler_notes = 214
script_update_troop_notes = 215
script_update_center_notes = 216
script_update_center_recon_notes = 217
script_get_prosperity_text_to_s50 = 218
script_spawn_bandits = 219
script_count_mission_casualties_from_agents = 220
script_get_max_skill_of_player_party = 221
script_upgrade_hero_party = 222
script_get_improvement_details = 223
script_cf_troop_agent_is_alive = 224
script_cf_village_recruit_volunteers_cond = 225
script_village_recruit_volunteers_recruit = 226
script_get_troop_item_amount = 227
script_get_name_from_dna_to_s50 = 228
script_change_center_prosperity = 229
script_get_center_ideal_prosperity = 230
script_get_poorest_village_of_faction = 231
script_query_resting = 232
script_action_affect_witnesses = 233
script_relative_faction_change = 234
script_terminate_mercenary_contract = 235
script_calculate_mercenary_base_pay = 236
script_create_messenger = 237
script_evaluate_message = 238
script_insert_message = 239
script_delete_first_message = 240
script_store_skills = 241
script_get_skills = 242
script_add_aid = 243
script_remove_aid = 244


